package yr.website

class Logg {

    String recordor
    Date recordDate
    /**
     * 执行的操作
     */
    String type

    /**
     * 映射。
     */

    static mapping = {
        table "sys_log"
        version false
        recordor(column: "recordor", sqlType: "varchar(32)")
        recordDate(column: "record_Date", sqlType: "datetime")
        type(column: "types", sqlType: "varchar(32)")
    }

    static constraints = {
        recordor(nullable: false, unique: false)
        recordDate(nullable: false, unique: false)
        type(nullable: false, unique: false)
    }
}
